package com.freeter.modules.good.entity.view;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotations.TableName;
import com.freeter.modules.good.entity.CategoryEntity;

import org.springframework.beans.BeanUtils;

import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;


/**
 * 分类表
 *
 * @date 2018-05-28 17:34:00
 */
@TableName("cn_category")
@ApiModel(value = "Category")
public class CategoryView extends CategoryEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public CategoryView() {
    }

    public CategoryView(CategoryEntity categoryEntity) {
        BeanUtils.copyProperties(this, categoryEntity);
    }

    private String categoryParentName;

    private String channelName;


    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getCategoryParentName() {
        return categoryParentName;
    }

    public void setCategoryParentName(String categoryParentName) {
        this.categoryParentName = categoryParentName;
    }


}
